//
//  StoreModel.h
//  BP_NewClient
//
//  Created by letv on 15/5/3.
//  Copyright (c) 2015年 normal. All rights reserved.
//

#import "JSONModel.h"
// -------------------------------门店列表model
@protocol StoreModel <NSObject>
@end

@interface StoreModel : JSONModel
@property (nonatomic ,strong) NSString<Optional> *storeNum;
@property (nonatomic ,strong) NSString<Optional> *id;
@property (nonatomic ,strong) NSString<Optional> *name;
@property (nonatomic ,strong) NSString<Optional> *telephone;
@property (nonatomic ,strong) NSString<Optional> *saleNum;
@property (nonatomic ,strong) NSString<Optional> *mobile;
@property (nonatomic ,strong) NSString<Optional> *longitude;
@property (nonatomic ,strong) NSString<Optional> *latitude;
@property (nonatomic ,strong) NSString<Optional> *address;
@property (nonatomic ,strong) NSString<Optional> *info;
@property (nonatomic ,strong) NSString<Optional> *needOrder;
@property (nonatomic ,strong) NSString<Optional> *time;
@property (nonatomic ,strong) NSString<Optional> *noFireTime;
@property (nonatomic ,strong) NSString<Optional> *wifi;
@property (nonatomic ,strong) NSString<Optional> *storeImg;
@property (nonatomic ,strong) NSString<Optional> *Regon_Id;
@property (nonatomic ,strong) NSString<Optional> *distance;
@end

@interface StroeListModel : JSONModel
@property (nonatomic, strong) NSMutableArray<StoreModel,Optional> *data;
@end

// -----------------------------某一个产品（烫发）对应的套餐列表
@protocol TaoCanModel <NSObject>
@end

@interface TaoCanModel : JSONModel
// purchase_info购买须知
@property (nonatomic ,strong) NSString<Optional> *id;
@property (nonatomic ,strong) NSString<Optional> *productTypeNum;
@property (nonatomic ,strong) NSString<Optional> *storeNum;
@property (nonatomic ,strong) NSString<Optional> *type;
@property (nonatomic ,strong) NSString<Optional> *distancePrice;
@property (nonatomic, strong) NSString <Optional> *value;
// taocan 套餐
@property (nonatomic ,strong) NSString<Optional> *name;
@property (nonatomic ,strong) NSString<Optional> *num;
@property (nonatomic ,strong) NSString<Optional> *price;

@end

@interface TaoCanList : JSONModel
@property (nonatomic, strong) NSMutableArray<TaoCanModel> *data;
@end

// ------------------------------门店下的某一个产品model 染发 烫发 剪发 组合
@protocol ProductModel <NSObject>
@end

@interface ProductModel : JSONModel

@property (nonatomic,strong) NSString<Optional> *create_time;
@property (nonatomic,strong) NSString<Optional> *id;
@property (nonatomic,strong) NSString<Optional> *detail;
@property (nonatomic,strong) NSString<Optional> *info;
@property (nonatomic,strong) NSString<Optional> *name;
@property (nonatomic,strong) NSString<Optional> *price;
@property (nonatomic,strong) NSString<Optional> *product_status;

@property (nonatomic,strong) NSString<Optional> *sale_count;
@property (nonatomic,strong) NSString<Optional> *stack_num;
@property (nonatomic,strong) NSString<Optional> *store_id;
@property (nonatomic,strong) NSString<Optional> *upload_time;

// 产品图片
@property (nonatomic,strong) NSString<Optional> *product_img;
@property (nonatomic,strong) NSMutableArray<TaoCanModel,Optional> *content;
@property (nonatomic,strong) NSMutableArray<TaoCanModel,Optional> *purchase_info;

@end

// -------------------------------某个门店的所有信息

@interface ProductListModel : JSONModel
@property (nonatomic,strong) NSMutableArray <ProductModel,Optional> *product_list;

@property (nonatomic,strong) NSString<Optional> *id;

@property (nonatomic,strong) NSString<Optional> *city_id;
@property (nonatomic,strong) NSString<Optional> *address;
@property (nonatomic,strong) NSString<Optional> *latitude;
@property (nonatomic,strong) NSString<Optional> *longitude;
@property (nonatomic,strong) NSString<Optional> *mobile;
@property (nonatomic,strong) NSString<Optional> *name;
@property (nonatomic,strong) NSString<Optional> *is_del;
@property (nonatomic,strong) NSString<Optional> *noFireTime;
@property (nonatomic,strong) NSString<Optional> *storeImg;
@property (nonatomic,strong) NSString<Optional> *storeInfo;
@property (nonatomic,strong) NSString<Optional> *starttime;
@property (nonatomic,strong) NSString<Optional> *endtime;
@property (nonatomic,strong) NSString<Optional> *business_circle_id;
@property (nonatomic,strong) NSString<Optional> *province_id;
@property (nonatomic,strong) NSString<Optional> *mini_image;

@property (nonatomic,strong) NSString<Optional> *open_status;
@property (nonatomic,strong) NSString<Optional> *open_status_type;


//"province_id" = 52;
//"region_id" = 52;
//tel = 15011036823;
//address = "\U5317\U4eac\U5e02\U4e2d\U5357\U5927\U885725\U53f7";
//"business_circle_id" = 1001;
//"city_id" = 52;
//id = 1;
//images = "";
//info = "\U975e\U5e38\U597d\U7684\U5730\U7406\U4f4d\U7f6e\Uff0c\U9002\U5408\U5927\U4f17\U4eba\U6765\U4fe1\U5496\U5561";
//"is_del" = 0;
//latitude = "53.330000";
//longitude = "73.320000";
//"mini_image" = "";
//mobile = 88452345;
//name = "\U5927\U4f17\U7f8e\U53d1";
//"open_status" = 1;
//"open_status_type" = 0;
@end

